https://discord.gg/botpress logo
ifame embbed not working
# 🤝help
b
I've tried multiple times to embed our chatbot on our webflow site using the iframe code but nothing shows up when published. Here's the code: <!-- In your tag --> #webchat .bpWebchat { position: unset; width: 100%; height: 100%; max-height: 100%; max-width: 100%; } #webchat .bpFab { display: none; } <!-- In your tag --> window.botpress.on("webchat:ready", () => { window.botpress.open(); }); window.botpress.init({ "botId": "29f6ac8e-af21-4386-a130-878c639184af", "configuration": { "composerPlaceholder": "Chat with me!", "botName": "SustAInability Advisor", "website": {}, "email": {}, "phone": {}, "termsOfService": {}, "privacyPolicy": {}, "color": "#3B82F6", "variant": "solid", "themeMode": "light", "fontFamily": "inter", "radius": 1, "allowFileUpload": true }, "clientId": "3d497a66-2eb4-4135-8ea9-b8346f702d22", "selector": "#webchat" });
p
I would recommend trying the approach out instead: https://botpress.com/docs/webchat/get-started/embedding-webchat#embed-webchat Hope this helps!